package com.ruoyi.boss.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 取消订单对象 t_cancel
 * 
 * @author ruoyi
 * @date 2025-08-17
 */
public class TCancel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 取消订单ID */
    private Long cancelId;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderNumber;

    /** 订车人 */
    @Excel(name = "订车人")
    private String vehiclePeople;

    /** 订车人手机号 */
    @Excel(name = "订车人手机号")
    private String vehiclePhone;

    /** 司机 */
    @Excel(name = "司机")
    private String driverName;

    /** 司机手机号 */
    @Excel(name = "司机手机号")
    private String driverPhone;

    /** 取消原因 */
    @Excel(name = "取消原因")
    private Long cancelReason;

    /** 乘客是否有责外键 */
    @Excel(name = "乘客是否有责外键")
    private Long passengerResponsible;

    /** 取消费用 */
    @Excel(name = "取消费用")
    private String cancelMoney;

    /** 取消时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "取消时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cancelTime;

    /** 操作人 */
    private String operationPeople;

    /** 创建时间 */
    private Date createdTime;

    /** 更新人 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedTime;

    public void setCancelId(Long cancelId) 
    {
        this.cancelId = cancelId;
    }

    public Long getCancelId() 
    {
        return cancelId;
    }

    public void setOrderNumber(Long orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber() 
    {
        return orderNumber;
    }

    public void setVehiclePeople(String vehiclePeople) 
    {
        this.vehiclePeople = vehiclePeople;
    }

    public String getVehiclePeople() 
    {
        return vehiclePeople;
    }

    public void setVehiclePhone(String vehiclePhone) 
    {
        this.vehiclePhone = vehiclePhone;
    }

    public String getVehiclePhone() 
    {
        return vehiclePhone;
    }

    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }

    public void setDriverPhone(String driverPhone) 
    {
        this.driverPhone = driverPhone;
    }

    public String getDriverPhone() 
    {
        return driverPhone;
    }

    public void setCancelReason(Long cancelReason) 
    {
        this.cancelReason = cancelReason;
    }

    public Long getCancelReason() 
    {
        return cancelReason;
    }

    public void setPassengerResponsible(Long passengerResponsible) 
    {
        this.passengerResponsible = passengerResponsible;
    }

    public Long getPassengerResponsible() 
    {
        return passengerResponsible;
    }

    public void setCancelMoney(String cancelMoney) 
    {
        this.cancelMoney = cancelMoney;
    }

    public String getCancelMoney() 
    {
        return cancelMoney;
    }

    public void setCancelTime(Date cancelTime) 
    {
        this.cancelTime = cancelTime;
    }

    public Date getCancelTime() 
    {
        return cancelTime;
    }

    public void setOperationPeople(String operationPeople) 
    {
        this.operationPeople = operationPeople;
    }

    public String getOperationPeople() 
    {
        return operationPeople;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cancelId", getCancelId())
            .append("orderNumber", getOrderNumber())
            .append("vehiclePeople", getVehiclePeople())
            .append("vehiclePhone", getVehiclePhone())
            .append("driverName", getDriverName())
            .append("driverPhone", getDriverPhone())
            .append("cancelReason", getCancelReason())
            .append("passengerResponsible", getPassengerResponsible())
            .append("cancelMoney", getCancelMoney())
            .append("cancelTime", getCancelTime())
            .append("operationPeople", getOperationPeople())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .toString();
    }
}
